const path = require("path");
const target = "https://sha.zhimore.top";

function resolve(dir) {
  return path.join(__dirname, dir);
}
module.exports = {
  transpileDependencies: ["uview-ui"],
  publicPath: "/h5/",
  devServer: {
    port: 8081,
    disableHostCheck: true,
    proxy: {
      "/app-api/": {
        target,
        changeOrigin: true,
        secure: false,
      },
    },
  },
};
